package cn.liuyang.tinyioc.aop;

import org.aopalliance.intercept.MethodInterceptor;

/**
 * 代理相关元数据
 * Created by liuyang on 2018/4/10.
 */
public class AdvisedSupport {

    /**
     * 被代理的目标源
     */
    private TargetSource targetSource;

    /**
     * 方法拦截类
     */
    private MethodInterceptor methodInterceptor;

    public TargetSource getTargetSource() {
        return targetSource;
    }

    public void setTargetSource(TargetSource targetSource) {
        this.targetSource = targetSource;
    }

    public MethodInterceptor getMethodInterceptor() {
        return methodInterceptor;
    }

    public void setMethodInterceptor(MethodInterceptor methodInterceptor) {
        this.methodInterceptor = methodInterceptor;
    }
}
